package 中讯;

public class Next {

	public String reverse(String str){
		StringBuffer sb = new StringBuffer();
		for(int i=0;i<str.length();i++){
			if(str.charAt(i) == 'Z')
				sb.append('A');
			else if(str.charAt(i) == 'z')
				sb.append('a');
			else
				sb.append((char)((int)str.charAt(i)+1));
		}
		return sb.toString();
			
	}
	public static void main(String[] args) {
		System.out.println(new Next().reverse("abczZ"));
	}

}
